package qj.ps;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import qj.tool.http.WebSession;
import qj.ui.DesktopUI4;
import qj.util.RegexUtil;
import qj.util.funct.P1;

public class Temp {
	public static void main(String[] args) {
		while (true) {
			try {
				System.out.println(new WebSession().getString("http://www.elitepvpers.com/forum/facebook/1386737-share-dd-tank-aimbot-2.html"));
			} catch (Exception e) {
				
			}
		}
	}
	public static void main1(String[] args) {
//		System.out.println((int)'\r');
		String string = DesktopUI4.prompt2();
//		System.out.println(Arrays.toString(string.getBytes()));
		//(\\w+)\r?\n
		//!!!\r?\n\r?\nTests run: (\\d+),  Failures: (\\d+),  Errors: (\\d+)
		RegexUtil.each(Pattern.compile("n\nFAILURES!!!"), string, new P1<Matcher>() {public void e(Matcher m) {
			System.out.println(m.group(1) + ": " + m.group(3) + "/" + m.group(2) + " (" + m.group(4) + ")");
		}});
	}
}
